<?xml version="1.0" encoding="ISO-8859-1" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
        xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" version="2.0">
    <f:view>
        <h:form id="loginForm" prependId="false">
            <label for="j_username">
                <h:outputText value="Username:"/>
                <br/>
            </label>
            <h:inputText id="j_username" required="true"/>
            <br/>
            <br/>
            <label for="j_password">
                <h:outputText value="Password:"/>
                <br/>
            </label>
            <h:inputSecret id="j_password" required="true"/>
            <br/>
            <br/>
            <label for="_spring_security_remember_me">
                <h:outputText value="Remember me"/>
            </label>
            <h:selectBooleanCheckbox id="_spring_security_remember_me"/>
            <br/>
            <h:commandButton type="submit" id="login" action="#{loginBean.doLogin}" value="Login"/>
        </h:form>
    </f:view>
</jsp:root>